/*
 * @(#) JobService.java 2011-9-7
 *
 * Copyright (c) 2011, Strong Technology. All Rights Reserved.
 * Strong Technology. CONFIDENTIAL
 */
package cn.strong.gweva.system.business.service;

import java.util.List;

import cn.strong.gweva.common.business.entity.PagerEntity;
import cn.strong.gweva.common.business.entity.db.JxkhJobEntity;
import cn.strong.gweva.system.business.entity.JobSearchEntity;


/**
 * 岗位管理接口.
 * 
 * @author jincong
 * @version 1.0
 * @since 2011-9-7
 */
public interface JobService
{

	/**
	 * 新增岗位.
	 * 
	 * @param job 岗位信息
	 * @throws Exception 异常
	 */
	public void insert(JxkhJobEntity job) throws Exception;

	/**
	 * 更新岗位.
	 * 
	 * @param job 岗位信息
	 * @throws Exception 异常
	 */
	public void update(JxkhJobEntity job) throws Exception;

	/**
	 * 逻辑删除岗位信息.
	 * 
	 * @param job 岗位信息
	 * @throws Exception 异常
	 */
	public void logicDeleteJob(JxkhJobEntity job) throws Exception;

	/**
	 * 删除岗位信息.
	 * 
	 * @param job 岗位信息
	 * @throws Exception 异常
	 */
	public void delete(JxkhJobEntity job) throws Exception;

	/**
	 * 查询岗位列表.
	 * 
	 * @return 岗位列表信息
	 * @throws Exception 异常
	 */
	public List<JxkhJobEntity> searchJobList() throws Exception;

	/**
	 * 岗位分页查询.
	 * 
	 * @param pagerEntity
	 * @return 岗位分页信息
	 * @throws Exception 异常
	 */
	public PagerEntity searchJobPage(PagerEntity pagerEntity, JobSearchEntity jobSearchEntity)
			throws Exception;

	/**
	 * 根据岗位ID查询岗位信息.
	 * 
	 * @param jxkhJobEntity 岗位信息
	 * @return 岗位信息
	 * @throws Exception 异常
	 */
	public JxkhJobEntity searchJobById(JxkhJobEntity jxkhJobEntity) throws Exception;
}
